package cn.shutdown.demo.thread.interrupt.sleep;

/**
 * @author jiangwujie
 * @date 2021/8/9
 */
public class SleepAndInterrupt {

    public static void main(String[] args) throws InterruptedException {
        MyThread myThread = new MyThread();
        myThread.start();

        Thread.sleep(20);
        myThread.interrupt();
    }

}
